package com.school.dao;

import java.io.Serializable;

//对应s_student表
public class Student implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int stuno;
	private String sname;
	private String sex;
	private String telephone;
	private String qq;
	private String wechat;
	private int gradeid;
	private String enterdate;
	private String fromcity;
	private String birthday;
	private String address;

	public Student() {

	}

	public Student(String sname, String sex, String telephone, String qq, String wechat, int gradeid, String enterdate,
			String fromcity, String birthday, String address) {
		super();
		this.sname = sname;
		this.sex = sex;
		this.telephone = telephone;
		this.qq = qq;
		this.wechat = wechat;
		this.gradeid = gradeid;
		this.enterdate = enterdate;
		this.fromcity = fromcity;
		this.birthday = birthday;
		this.address = address;
	}

	public Student(int stuno, String sname, String sex, String telephone, String qq, String wechat, int gradeid,
			String enterdate, String fromcity, String birthday, String address) {
		super();
		this.stuno = stuno;
		this.sname = sname;
		this.sex = sex;
		this.telephone = telephone;
		this.qq = qq;
		this.wechat = wechat;
		this.gradeid = gradeid;
		this.enterdate = enterdate;
		this.fromcity = fromcity;
		this.birthday = birthday;
		this.address = address;
	}

	public int getStuno() {
		return stuno;
	}

	public void setStuno(int stuno) {
		this.stuno = stuno;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public int getGradeid() {
		return gradeid;
	}

	public void setGradeid(int gradeid) {
		this.gradeid = gradeid;
	}

	public String getEnterdate() {
		return enterdate;
	}

	public void setEnterdate(String enterdate) {
		this.enterdate = enterdate;
	}

	public String getFromcity() {
		return fromcity;
	}

	public void setFromcity(String fromcity) {
		this.fromcity = fromcity;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "学生信息 [stuno=" + stuno + ", sname=" + sname + ", sex=" + sex + ", telephone=" + telephone + ", qq=" + qq
				+ ", wechat=" + wechat + ", gradeid=" + gradeid + ", enterdate=" + enterdate + ", fromcity=" + fromcity
				+ ", birthday=" + birthday + ", address=" + address + "]\n";
	}

}
